﻿#include "CmdSetHeatMapRemoveSelectedGraph.h"
#include <QFile>
#include <QDebug>
#include "BaseModule/IBaseSignal.h"
#include "PostCommandPy.h"

namespace PostCommand
{
    CmdSetHeatMapRemoveSelectedGraph::CmdSetHeatMapRemoveSelectedGraph()
        : CommandBase()
    {
        this->initCmdName();
    }
    CmdSetHeatMapRemoveSelectedGraph::~CmdSetHeatMapRemoveSelectedGraph()
    {
    }

    bool CmdSetHeatMapRemoveSelectedGraph::execute()
    {
        //bool _success = false;
        emit IBaseSignalInstance->signal_setHeatMapRemoveSelectedGraph(m_windowId);
        return true;
    }

    void CmdSetHeatMapRemoveSelectedGraph::undo()
    {
    }

    void CmdSetHeatMapRemoveSelectedGraph::redo()
    {
        // execute();
    }

    void CmdSetHeatMapRemoveSelectedGraph::setHeatMapRemoveSelectedGraph(int windowId)
    {
        m_windowId = windowId;
    }

} // namespace PostCommand
